<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Content-Language" content="zh-cn"/>
	<link rel="stylesheet" type="text/css" href="<?php echo THEMEURL.'style.css'; ?>" />
	<title><?php echo SITENAME; ?></title>
</head>
<body>
  <div id="header">
    <div class="block_header">
    	<div class="top_text">
    		<p><?php if (isset($_SESSION['authPassed'])) echo "<a href='?p=viewUser&uid={$_SESSION['uid']}'>{$_SESSION['userName']}</a>"; else echo "<a href='?p=login'>login</a>"?></p>
    
    		<div class="search2">
          		<form  method="get">
         			<label>
         				<input name="p" type="hidden" value="search"/>
         				<select name="type">
         					<option value="userNickname">用户名</option>
         					<option value="userTag">用户标签</option>
         					<option value="userCollege">学院</option>
         					<option value="competitionName">比赛名称</option>
         				</select>
             			<input name="keyword" type="text" class="keywords" id="textfield3" value="点此搜索" />
              			<input name="" type="image" src="<?php echo THEMEURL.'images/search.gif'?>" class="button" />
            		</label>
          		</form>
        	</div>
    	</div>
    	
    	<div class="clr"></div>
		
      	<div class="logo">
      		<a href="<?php echo SITEURL.'index.php'?>"><img src="<?php echo THEMEURL.'images/logo.png'?>"  border="0" alt="logo" /></a>
      	</div>
      	<div class="clr"></div>
	</div>
  </div>
  
  <div id="container">